﻿@{
    ViewBag.Title = "DeptManagementIndex";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{
    @Html.Css("main", "flexigrid", "tree")
    <script type="text/javascript">
        var maiheight = document.documentElement.clientHeight;
        $(document).ready(function () {
            $("#ptree").treeview({
                url: '@Url.Action("SelDeptInfo")',
                showcheck: false,
                theme: "bbit-tree-no-lines"
            }).height(maiheight - 30);
        });
    </script>
}
<div id="container">
    <div id="bmsidebar">
        <div class="title">
            部门信息</div>
        <div id="ptree" style="overflow-y: scroll;">
        </div>
    </div>
</div>
